package com.punai.config.sqlitedomain.vo;

import com.punai.common.bos.KVBO;
import com.punai.config.sqlitedomain.ConfigUnitConver;

import java.util.ArrayList;
import java.util.List;

public class ConfigUnitConverVo extends ConfigUnitConver {

    private Integer pageSize;
    private Integer pageNum;
    private List<KVBO> kvObj = new ArrayList<>();
    private String kvobjStr;

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public List<KVBO> getKvObj() {
        return kvObj;
    }

    public void setKvObj(List<KVBO> kvObj) {
        this.kvObj = kvObj;
    }

    public String getKvobjStr() {
        return kvobjStr;
    }

    public void setKvobjStr(String kvobjStr) {
        this.kvobjStr = kvobjStr;
    }

    @Override
    public String toString() {
        return "ConfigUnitConver{" +
                "id='" + this.getId() + '\'' +
                ", indexUnit='" + this.getIndexUnit() + '\'' +
                ", kvJson='" + this.getKvJson() + '\'' +
                ", createDate=" + this.getCreateDate() +
                ", editState=" + this.getEditState() +
                ", lastModify=" + this.getLastModify() +
                ", version=" + this.getVersion() +
                ", sreachKey='" + this.getSreachKey() + '\'' +
                ", pageSize=" + this.getPageSize() +
                ", pageNum=" + this.getPageNum() +
                '}';
    }
}
